home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
B-Book Series
/
(k)b6.d64
/
poly'as.l
< prev
next >
Wrap
Text File
|
2007-02-28
|
266b
|
14 lines
9000 PROC POLY'AS(X,Y,S,R,A) CLOSED
9010 PENUP
9020 N:=6.28318531/S
9030 A:=RAD(A)
9040 FOR T:=0 TO 6.28318531+N STEP N DO
9050 X':=R*COS(T+A)
9060 Y':=R*SIN(T+A)
9070 SX:=ASPECT*X'+X
9080 SY:=Y-Y'
9090 DRAWTO SX,SY
9100 PENDOWN
9110 ENDFOR T
9120 ENDPROC POLY'AS